package com.caishi.lkx.exam.model.re;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zzw.common.entity.impl.BSIntEntity;
import com.zzw.common.service.model.base.SortModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author: Janisa
 * @date: 2022/3/17 11:24
 * @description: 栏目配置关系实体
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("ex_column_config_re")
public class ExColumnConfigReModel extends BSIntEntity<ExColumnConfigReModel> implements SortModel<ExColumnConfigReModel> {

    @Schema(title = "栏目id")
    private String columnId;

    @Schema(title = "章节id")
    private String configId;

    @Schema(title = "是否免费")
    private Boolean isFree;

    @Schema(title = "配置时间")
    private LocalDateTime createdTime;

    @Schema(title = "排序")
    private Integer sort;

}
